﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200145F RID: 5215
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TravelBrochureSetPageDescStatusScRsp : IMessage<TravelBrochureSetPageDescStatusScRsp>, IMessage, IEquatable<TravelBrochureSetPageDescStatusScRsp>, IDeepCloneable<TravelBrochureSetPageDescStatusScRsp>, IBufferMessage
	{
		// Token: 0x170041A8 RID: 16808
		// (get) Token: 0x0600E945 RID: 59717 RVA: 0x0026F3C9 File Offset: 0x0026D5C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TravelBrochureSetPageDescStatusScRsp> Parser
		{
			get
			{
				return TravelBrochureSetPageDescStatusScRsp._parser;
			}
		}

		// Token: 0x170041A9 RID: 16809
		// (get) Token: 0x0600E946 RID: 59718 RVA: 0x0026F3D0 File Offset: 0x0026D5D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TravelBrochureSetPageDescStatusScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170041AA RID: 16810
		// (get) Token: 0x0600E947 RID: 59719 RVA: 0x0026F3E2 File Offset: 0x0026D5E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TravelBrochureSetPageDescStatusScRsp.Descriptor;
			}
		}

		// Token: 0x0600E948 RID: 59720 RVA: 0x0026F3E9 File Offset: 0x0026D5E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TravelBrochureSetPageDescStatusScRsp()
		{
		}

		// Token: 0x0600E949 RID: 59721 RVA: 0x0026F3F1 File Offset: 0x0026D5F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TravelBrochureSetPageDescStatusScRsp(TravelBrochureSetPageDescStatusScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E94A RID: 59722 RVA: 0x0026F416 File Offset: 0x0026D616
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TravelBrochureSetPageDescStatusScRsp Clone()
		{
			return new TravelBrochureSetPageDescStatusScRsp(this);
		}

		// Token: 0x170041AB RID: 16811
		// (get) Token: 0x0600E94B RID: 59723 RVA: 0x0026F41E File Offset: 0x0026D61E
		// (set) Token: 0x0600E94C RID: 59724 RVA: 0x0026F426 File Offset: 0x0026D626
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600E94D RID: 59725 RVA: 0x0026F42F File Offset: 0x0026D62F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TravelBrochureSetPageDescStatusScRsp);
		}

		// Token: 0x0600E94E RID: 59726 RVA: 0x0026F43D File Offset: 0x0026D63D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TravelBrochureSetPageDescStatusScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E94F RID: 59727 RVA: 0x0026F46C File Offset: 0x0026D66C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E950 RID: 59728 RVA: 0x0026F4AB File Offset: 0x0026D6AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E951 RID: 59729 RVA: 0x0026F4B3 File Offset: 0x0026D6B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E952 RID: 59730 RVA: 0x0026F4BC File Offset: 0x0026D6BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E953 RID: 59731 RVA: 0x0026F4F0 File Offset: 0x0026D6F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E954 RID: 59732 RVA: 0x0026F52E File Offset: 0x0026D72E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TravelBrochureSetPageDescStatusScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E955 RID: 59733 RVA: 0x0026F55F File Offset: 0x0026D75F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E956 RID: 59734 RVA: 0x0026F568 File Offset: 0x0026D768
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005C2B RID: 23595
		private static readonly MessageParser<TravelBrochureSetPageDescStatusScRsp> _parser = new MessageParser<TravelBrochureSetPageDescStatusScRsp>(() => new TravelBrochureSetPageDescStatusScRsp());

		// Token: 0x04005C2C RID: 23596
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005C2D RID: 23597
		public const int RetcodeFieldNumber = 1;

		// Token: 0x04005C2E RID: 23598
		private uint retcode_;
	}
}
